import { EggAppConfig, PowerPartial } from 'egg';
import * as path from 'path';

export default () => {
  const config: PowerPartial<EggAppConfig> = {};
  config.logger = {
    level: 'INFO',
    dir: path.join(__dirname, '../logs/dev/app'), // 保存路径为工程路径下`logs/prod/app`
  };
  return config;
};
